package com.example.dao;

import com.example.common.R;

public interface ApUserDao {

    /**
     * 查询用户名
     * @param phone
     * @param password
     * @return
     * @throws Exception
     */
    R login(String phone, String password) throws Exception;


    /**
     * 注册
     * @param phone
     * @param password
     * @return
     * @throws Exception
     */
    R register(String phone, String password) throws Exception;

}
